<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <%@include file="include/header.jsp" %>
    <title>用户添加</title>
</head>

<body>

<%@include file="include/nav.jsp" %>

<div class="container-fluid">
    <div class="row">
        <%@include file="include/sidebar.jsp" %>
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
            <%-- 面包屑 --%>
            <ol class="breadcrumb">
                <li><a href="admin/to/main/page.html">首页</a></li>
                <li><a href="admin/get/page.html">数据列表</a></li>
                <li class="active">新增</li>
            </ol>
            <div class="panel panel-default">
                <div class="panel-heading">
                    在这里填写新增的用户信息
                    <%-- 右上角的小问号 这里不需要就注释了 --%>
                    <%--<div style="float:right;cursor:pointer;" data-toggle="modal" data-target="#myModal"><i class="glyphicon glyphicon-question-sign"></i></div>--%>
                </div>
                <div class="panel-body">
                    <form role="form" action="admin/insert.html" method="post">
                        <div class="form-group">
                            <label>登陆账号</label>
                            <input name="account" type="text" class="form-control" placeholder="请输入登陆账号">
                        </div>
                        <div class="form-group">
                            <label>登录密码</label>
                            <input name="password" type="password" class="form-control" placeholder="请输入登陆密码">
                        </div>
                        <div class="form-group">
                            <label>用户昵称</label>
                            <input name="username" type="text" class="form-control" placeholder="请输入用户昵称">
                        </div>
                        <div class="form-group">
                            <label>邮箱地址</label>
                            <input name="email" type="email" class="form-control" placeholder="请输入邮箱地址">
                            <p class="help-block label label-warning">请输入合法的邮箱地址, 格式为： xxxx@xxxx.com</p>
                        </div>
                        <p style="color: red">${e.message}</p>
                        <button type="submit" class="btn btn-success"><i class="glyphicon glyphicon-plus"></i> 新增</button>
                        <button type="reset" class="btn btn-danger"><i class="glyphicon glyphicon-refresh"></i> 重置</button>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>